﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace block_explorer
{
    interface IComponent
    {
        void Initialize(GraphicsDevice device, ContentManager content);
        void Destroy();
        void Update(GameTime gameTime);
    }

    interface IDrawableComponent : IComponent
    {
        void Draw(GraphicsDevice device, Camera camera, Shaders.WorldShader effect);
        void Draw2D(GraphicsDevice device, Camera camera, Shaders.Render2DEffect effect);
    }
}
